<?php $product = $products[0];?>
<?php if(count($product)) : ?>
<div class="bg-pattern pt-100 pb-50">
    <div class="container pt-40">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <div class="main-product">
                <img src="/files/images/<?php echo h($product['Product']['image'])?>" width="609" height="353" />
                <img src="/images/fr_dotted_product.png" alt="" class="fr-product" />
                <!-- 
                <div class="count-product">
                <p>Sản phẩm</p>
                <p>01</p>
                </div>
                -->
            </div>
        </div>
        <img src="/images/logo_aeon.png" alt="" class="logo-aeon" />
    </div><!-- /container -->
</div><!-- /bg-pattern -->
  
<div class="bg-blue">
    <div class="container">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <h2 class="name-product"><?php echo h($product['Product']['name'])?></h2>
            <p class="des-product">
				<?php echo h($product['Product']['description'])?>
			</p>
			<div class="align-center">
				<p class="show-price"><span class="format-price"><?php echo h($product['Product']['price'])?></span> VND</p>
			</div>
        </div>
    </div><!-- /container -->
</div>
<?php else :?>
<div class="bg-pattern pt-100 pb-50">
    <div class="container pt-40">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <div class="main-product">
                <img src="/files/images/<?php echo h(@$product['Product']['image'])?>" width="609" height="353" />
                <img src="/images/fr_dotted_product.png" alt="" class="fr-product" />
            </div>
        </div>
        <img src="/images/logo_aeon.png" alt="" class="logo-aeon" />
    </div><!-- /container -->
</div><!-- /bg-pattern -->

<div class="bg-blue">
    <div class="container" align="center">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <p class="welcome-text">Không còn sản phẩm</p>
        </div>
    </div><!-- /container -->
</div>
<?php endif;?>
<?php if($this->Paginator->counter('{:pages}') > 1) :?>
<div align="center">
    <ul class="pagination">
<?php
	echo '<li>' . $this->Paginator->prev('Prev', array('model' => 'Product'), null, array('class' => 'prev disabled')) . '</li>';
	echo '<li>' . $this->Paginator->next('Next', array('model' => 'Product'), null, array('class' => 'next disabled')) . '</li>';
?>
    </ul>
</div>
<?php endif;?>